package com.binance.mbxgateway.vo.response.order;

import java.math.BigDecimal;
import java.util.List;

import com.binance.master.commons.ToString;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel
@Getter
@Setter
public class PlaceOrderResponse extends ToString {

    /**
     * 
     */
    private static final long serialVersionUID = 4799412715110194749L;

    @ApiModelProperty
    private String symbol;
    @ApiModelProperty
    private Long orderId;
    @ApiModelProperty
    private String clientOrderId;
    @ApiModelProperty
    private Long transactTime;
    @ApiModelProperty
    private BigDecimal price;
    @ApiModelProperty
    private BigDecimal origQty;
    @ApiModelProperty
    private BigDecimal executedQty;
    @ApiModelProperty
    private BigDecimal cummulativeQuoteQty;
    @ApiModelProperty
    private String status;
    @ApiModelProperty
    private String timeInForce;
    private String type;
    @ApiModelProperty
    private String side;
    @ApiModelProperty
    private List<String> fills;

    @Getter
    @Setter
    public static class OrderFill extends ToString {

        /**
         * 
         */
        private static final long serialVersionUID = 4323692028007130939L;

        @ApiModelProperty
        private BigDecimal price;
        @ApiModelProperty
        private BigDecimal qty;
        @ApiModelProperty
        private BigDecimal commission;
        @ApiModelProperty
        private String commissionAsset;
        @ApiModelProperty
        private Long tradeId;
    }

}
